<?php
(trim($_GET['action']) == '') ? $action = trim($_POST['action']) : $action = trim($_GET['action']);
if ($action == 'emailTemplate') {
	//get categories 
	
}
?>